package org.linloong.modules.apis.common.mapper;// RoleMapper.java
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.linloong.modules.apis.common.entity.Role;

import java.util.List;

public interface RoleMapper extends BaseMapper<Role> {
    
    List<Role> selectRolesByUserId(@Param("userId") Long userId);
}
